package com.lazybones.base.engineer.mapper.base;

import com.lazybones.base.engineer.entity.file.SystemFileInfo;
import com.lazybones.base.engineer.entity.test.TestEntity;
import com.mybatisflex.core.BaseMapper;

import java.util.List;

public interface IBaseMapper extends BaseMapper<SystemFileInfo> {

    default List<TestEntity> selectById(int id){
//        LambdaGetter<TestEntity> lg = TestEntity::getTid;
//        LambdaGetter<Test1Entity> eg = Test1Entity::getId;
//        QueryWrapper qw = QueryWrapper.create(QueryWrapper.create().select().from("test").leftJoin("test1")
//                .on(lg,eg).where("id =",id)
//        );
//        return selectListByQueryAs(qw, TestEntity.class);
        return null;
    }


}
